<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>添加被保人信息</title>
  <link rel="stylesheet" href="../static/layui/css/layui.css">
  <link rel="stylesheet" href="../static/xznstatic/css/common.css"/>
  <link rel="stylesheet" href="../static/xznstatic/css/style.css"/>
  <link rel="stylesheet" href="../static/css/bootstrap.css">
  <link href="../static/css/bootstrap.min.css" rel="stylesheet">
  <link href="../static/css/materialdesignicons.min.css" rel="stylesheet">
  <link href="../static/css/style.min.css" rel="stylesheet">
</head>
<style type="text/css">

  #iframe {
    width: 100%;
    margin-top: 50px;
    padding-top: 94px;
  }
  #header {

    height: auto;
    background: #fff;
    border-bottom: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: url("../static/img/img15.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
  }

  #header .nav-top {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 16px;
    color: #2a8a15;
    box-sizing: border-box;
    height: 50px;
    background-color: rgba(255, 120, 0, 1);
    box-shadow: 0 0 20px #e88a64;
    justify-content: center;
    position: relative;
  }

  #header .nav-top-title {
    line-height: 40px;
    font-size: 20px;
    color: rgba(255, 255, 255, 1);
    padding: 0 10px;
    margin: 0 10px;
    border-radius: 0px;
    border-width: 0;
    border-style: solid;
    border-color: rgba(0,0,0,.3);

  }
  #header .nav-top-tel {
    line-height: 40px;
    font-size: 16px;
    color: #333;
    padding: 0 10px;
    margin: 0;
    border-radius: 6px;
    border-width: 0;
    border-style: solid;
    border-color: rgba(0,0,0,.3);

  }

  #header .navs {
    display: flex;
    padding: 0 20px;
    align-items: center;
    box-sizing: border-box;
    height: 94px;
    background-color: rgba(255, 248, 239, 1);
    box-shadow: 0 1px 6px rgba(0,0,0,0);
    justify-content: center;
  }
  #header .navs .title {
    width: auto;
    line-height: 40px;
    font-size: 16px;
    color: #333;
    padding: 0 10px;
    margin: 0 5px;
    border-radius: 6px;
    border-width: 0;
    border-style: solid;
    border-color: rgba(0,0,0,.3);
    box-shadow: 0 0 6px rgba(0,0,0,0);
  }
  #header .navs li {
    display: inline-block;
    width: auto;
    line-height: 34px;
    padding: 0 10px;
    margin: 0 5px;
    color: #333;
    font-size: 20px;
    border-radius: 6px;
    border-width: 0;
    border-style: solid;
    border-color: rgba(0,0,0,.3);
    background-color: rgba(255, 248, 239, 1);
    box-shadow: 0 0;
    text-align: center;
  }
  #header .navs li a{
    color: inherit;
  }
  #header .navs li.current a{
    color: inherit;
  }
  #header .navs li a:hover{
    color: inherit;
  }
  #header .navs li.current {
    color: rgba(226, 81, 17, 1);
    font-size: 20px;
    border-radius: 0px;
    border-width: 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 1);
    background-color: rgba(255, 248, 239, 1);
    box-shadow: 0 2px 0px #e25111;
  }

  #carouselExampleIndicators{
    width: 100%;
    height:600px;
  }
  #carouselExampleIndicators .carousel-inner{
    width: 100%;
    height: 600px;
  }
  .box2{
    position: absolute;
    width: 200px;
    height: 800px;
    background-color: rgba(255, 248, 239, 1);

  }
  .box3{


    left: 60px;
    right: 0px;
    top: 500px;
    bottom: 0;
    margin: auto;
    border :solid     1px  black;
    width: 40%;
    height: 600px;
    /*background-image: linear-gradient(to top,#3a90db ,#ddd);*/
background-color: #cac3b9;
  }

  label{

    width: 150px;
    margin-left: auto;

    display: inline-block;
    margin-top: 20px;

    text-align: center;

  }
  input{
    padding: 4px;
    width: 300px;
    margin-left: 0px;

  }
  #btn{
    margin-left: 230px;
    width: 150px;

  }
  /*form{*/

  /*  width: 800px;*/
  /*  position: absolute;*/
  /*  top:145px;*/
  /*  margin-left: 400px;*/
  /*  text-align: center;*/

  /*}*/
  /*input{*/
  /*  padding: 7px;*/
  /*  align-content: center;*/
  /*  margin-top: 2px;*/
  /*}*/
  input:focus{
    border-color: red;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)
  }

</style>
<body>
<div id="header">
  <div v-if='true' class="nav-top">

    <div v-if="true" class="nav-top-title">智能车险投保系统</div>
    <div class="nav-top-tel"></div>
  </div>
  <div class="navs">
    <!-- <div class="logo" style="font-size: 20px;top: 32px;color: #fff;font-weight: bold;margin-left: -200px;width: 240px;" v-text="projectName"></div> -->
    <div class="title" v-if="false" v-text="projectName"></div>
    <div class="list">
      <ul>
        <li ><a th:href="@{shouye}" ><i v-if="false" class="layui-icon layui-icon-home"></i>首页</a></li>
        <li ><a th:href="@{echarts}" target="jj" ><i v-if="false" class="layui-icon layui-icon-list"></i>历史记录</a></li>
        <li ><a th:href="@{look}" ><i v-if="false" class="layui-icon layui-icon-cart"></i>汽车保险</a></li>
        <li ><a th:href="@{fuwudating}" ><i v-if="false" class="layui-icon layui-icon-username"></i>服务大厅</a></li>
        <li class='current'><i v-if="false" class="layui-icon layui-icon-util"></i>个人中心</a></li>

      </ul>
    </div>
  </div>

  <div class="box2">
    <ul class="layui-nav layui-nav-tree layui-inline" lay-filter="demo" style="margin-right: 600px;">
      <li class="layui-nav-item layui-nav-itemed">
        <a href="javascript:;">信息服务</a>
        <dl class="layui-nav-child">
          <dd><a th:href="@{userinfo(id=${session.user.uid})}" target="jj">完善个人信息</a></dd>
          <dd><a th:href="@{car}" target="jj">添加车辆信息</a></dd>
          <dd><a th:href="@{insured}" target="jj">添加被保人信息</a></dd>

        </dl>
      </li>
    </ul>
  </div>

<!--  <form th:action="@{/insured}" method="post">-->
<!--    &lt;!&ndash;    <input type="text" placeholder="uid" name="uid" /><br/>&ndash;&gt;-->
<!--    <h3>添加被保人信息</h3>-->
<!--    <input type="text" placeholder="请输入被保人姓名" name="bname" /><br/>-->
<!--    <input type="text" placeholder="请输入被保人电话" name="btelephone" /><br/>-->
<!--    <input type="text" placeholder="请输入请输入被保人家庭地址" name="baddress" /><br/>-->
<!--    <input type="text" placeholder="请输入被保人身份证" name="bidcard" /><br/>-->
<!--    <input type="text" placeholder="请输入被保人邮政码" name="bzipcode" /><br/>-->
<!--    <input type="submit" value="提交">-->
<!--  </form>-->

  <div class="box3">
    <form th:action="@{/insured}" method="post">
      <h2 align="center">添加被保人信息</h2>
      <div id="item">
        <label>被保人姓名</label>
        <input type="text"  name="bname"/>
      </div>

      <div id="item">
        <label>被保人电话</label>
        <input type="text"  name="btelephone"/>
      </div>

      <div id="item">
        <label>被保人家庭地址</label>
        <input type="text"  name="baddress"/>
      </div>
      <div id="item">
        <label>被保人身份证</label>
        <input type="text"  name="bidcard"/>
      </div>
      <div id="item">
        <label>被保人邮政编码</label>
        <input type="text"  name="bzipcode"/>
      </div>
      <br />

      <tr >
        <td > <button type="submit" class="layui-btn layui-btn-normal" id="btn">提交</button></td>
      </tr>
    </form>
  </div>
</div>
<script src="../static/xznstatic/js/jquery-1.11.3.min.js"></script>
<script src="../static/layui/layui.js"></script>
<script src="../static/js/vue.js"></script>
<script src="../static/js/config.js"></script>
</body>
</html>